<?php
 require '../../config/conn.php';
   $vCOAC= $_GET["id"];
   $SQLstr = "DELETE FROM usuarios WHERE pkusu='$vCOAC'";
   if (!$conectarBD->query($SQLstr))
   {
      echo " Problemas al relizar el delete: (" . $conectarBD->errno . ") " . $conectarBD->error;
   }
   else{
   	echo'<script language=javascript>
        alert("Se elimino el usuario con exito")
        self.location="index.php"
      </script>';
   }
 
   $conectarBD->close();
?>